package com.compoundsystem.compound.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.compoundsystem.compound.pojo.Compound;
import com.compoundsystem.dto.CompoundQueryDto;
import com.compoundsystem.user.pojo.User;

import java.util.List;

public interface CompoundService {
    IPage<Compound> selectCompoundPage(CompoundQueryDto compoundQueryDto);

    //添加化合物
    Integer addCompound(Compound compound);

    //更新化合物
    Integer updateCompound(Compound compound);

    //删除化合物
    Integer deleteCompound(Integer id);

    //批量删除
    void batchDelete(List<Integer> ids);

    //获取化合物详细信息
    Compound findSelect(Integer id);
}
